<?php     //global.php
return array(
  'db' => array( 
      'driver' => 'Pdo',
      'dsn' => 'mysql:dbname=n211201104; host=localhost', 
      'username' => 'root',
      'password' => '123456',
      'driver_options' => array( 
      PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES \'UTF8\'' ),
      ),
  'service_manager' => array(
     'factories' => array(
       'Zend\Db\Adapter\Adapter' => 'Zend\Db\Adapter\AdapterServiceFactory',
        ),
      ),
   );
?>

